/**
 * 
 */
package com.wuka.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wuka.mapper.RestFulLogDao;
import com.wuka.model.RestfulLog;
import com.wuka.service.IRestFulLogService;

/**
 * @author zhangliping
 *
 */
@Service
public class RestFulLogServiceImpl implements IRestFulLogService {

	@Autowired
    private RestFulLogDao restFulLogDao; 
	
	@Override
	public void saveRestFulLong(RestfulLog restfulLog) {
		restFulLogDao.saveRestFulLong(restfulLog);
	}

	@Override
	public int deleteByPrimaryKey(Long id) {
		return restFulLogDao.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(RestfulLog record) {
		return restFulLogDao.insert(record);
	}

	@Override
	public int insertSelective(RestfulLog record) {
		return restFulLogDao.insertSelective(record);
	}

	@Override
	public RestfulLog selectByPrimaryKey(Long id) {
		return restFulLogDao.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(RestfulLog record) {
		return restFulLogDao.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(RestfulLog record) {
		return restFulLogDao.updateByPrimaryKey(record);
	}
	
	@Override
	public List<RestfulLog> selectList(RestfulLog record) {
		return restFulLogDao.selectList(record);
	}

}
